package entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.*;
import java.util.Date;

/**
 * 实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "Productimage ", description = "实体类")
public class Productimage  {


    @ApiModelProperty(hidden = true)
    private String id;


    @NotEmpty(message = "商品ID不能为空")
    @ApiModelProperty(name="productId",value="商品ID",example="")
    private String productId;


    @NotEmpty(message = "图片地址不能为空")
    @ApiModelProperty(name="imageUrl",value="图片地址",example="")
    private String imageUrl;


    @ApiModelProperty(name="createTime",value="",example="")
    private Date createTime;


    @ApiModelProperty(name="createUserId",value="",example="")
    private String createUserId;


    @ApiModelProperty(name="updateTime",value="",example="")
    private Date updateTime;


    @ApiModelProperty(name="updateUserId",value="",example="")
    private String updateUserId;


    @ApiModelProperty(name="isDeleted",value="",example="")
    private Integer isDeleted;

}
